<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>比价搜索</title>
  <link rel="stylesheet" href="./fonts/font/iconfont.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>

<body>
  <div class="mbuy-layout">
    <!-- 头部 -->
    <div class="mbuy-header">
      <div class="logo"></div>
      <div class="app"></div>
    </div>
    <!-- 搜索 -->
    <div class="mbuy-search">
      <input type="search" id="search" placeholder="请输入你想比价的商品">
      <input type="button" value="搜索">
    </div>
    <!-- 导航 -->
    <div class="cate-nav">
      <ul class="ul-one">
        <li id="one">
          <p class="cata-one">大家电<i class="iconfont icon-zuojiantou"></i></p>
          <ul class="ul-two clearfix current">
            <li>数据</li>
            
          </ul>
        </li>
      </ul>
    </div>

    <!-- 底部 -->
    <div class="mbuy-footer">
      <ul>
        <li>登录</li>
        <li>注册</li>
        <li class="goTop"><img src="http://www.zuyushop.com/wap/images/top.jpg">返回顶部</li>
      </ul>
      <p><a href="#" class="mobile">手机APP下载</a> <a href="index.html">慢慢买手机版</a><span>-- 掌上比价平台</span></p>
      <p>m.manmanbuy.com</p>
    </div>
  </div>
</body>
<!-- 一级分类模板 -->
<script type="text/html" id="tmp">
    {{each result v i}}
      <li id="one">
        <p class="cata-one" data-id="{{v.titleId}}">{{v.title}}<i class="iconfont icon-zuojiantou"></i></p>
        <ul class="ul-two clearfix current">
          <li>数据</li>
        </ul>
      </li>
    {{/each}}
  </script>

<!-- 二级分类模板 -->
<!-- productlist.html?categoryid=0&category=电视 -->
<script type="text/html" id="tmp2">
  {{each result v i}}
  <li data-categoryId={{v.categoryId}}>
    
    <a href="productlist.html?categoryid={{v.categoryId}}&category={{v.category}}">{{v.category}}</a>
  </li>
  {{/each}}
</script>

<script src="./lib/artTemplate/template-web.js"></script>
<script src="./lib/jquery/jquery.min.js"></script>
<script src="./js/common.js"></script>
<script src="./js/category.js"></script>

</html>